<!DOCTYPE html>
<html>
    <head>
        <title>Krejčíř obklady a dlažby, administrace</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="robots" content="noindex,nofollow" n:ifset="$robots">
        
        <link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/adminfiles/css/screen.css?v=2" type="text/css" />
        <link rel="stylesheet" media="print" href="{$basePath}/adminfiles/css/print.css" type="text/css" />
        
        <link rel="shortcut icon" href="{$basePath}/favicon.png" type="image/x-icon" />
        
        <!-- JQuery -->
        <script src="{$basePath}/js/jquery-1.9.0.min.js"></script>                       
        <script src="{$basePath}/js/jquery-ui-1.9.2.custom.min.js"></script>                       
        <link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/js/jquery-ui-1.9.2.custom/css/custom-theme/jquery-ui-1.9.2.custom.min.css" type="text/css" />
        
        <!-- Ajax -->
        <script type="text/javascript" src="{$basePath}/js/jquery.nette.js"></script>
        <script type="text/javascript" src="{$basePath}/js/jquery.ajaxform.js"></script>        
        <script type="text/javascript" src="{$basePath}/js/netteForms.js"></script>
                
         <!-- Live Form Validation -->
        <link rel="stylesheet" type="text/css" media="screen,projection,tv" href="{$basePath}/js/liveFormValidation/live-form-validation.css"type="text/css">
        <script type="text/javascript" src="{$basePath}/js/liveFormValidation/live-form-validation.js"></script>        
        
         <!-- Krejcir -->
        <script type="text/javascript" src="{$basePath}/adminfiles/js/krejcir-tools.js"></script>        
        {block #head}{/block}
    </head>
    <body>
        <div id="page-wrapper">
            <div id="header">
                <div id="yellow-stripe">                    
                    <a href="{$basePath}/"><img id="logo" src="{$basePath}/images/logo.png" alt="logo firmy krejcir sro" /></a>
                </div>
                <div id="black-stripe">
                    <ul id="menu" n:if="$user->isLoggedIn()">
                        <li><a href="{link Zbozi:default}" {ifCurrent Zbozi:*}class="active"{/ifCurrent}>Zboží</a></li>
<!--                        <li><a href="{link AkcniNabidka:default}" {ifCurrent AkcniNabidka:*}class="active"{/ifCurrent}>Akční nabídka</a></li>-->
                        <li><a href="{link Vzorkovna:default}" {ifCurrent Vzorkovna:*}class="active"{/ifCurrent}>Vzorkovna</a></li>
                        <li><a href="{link Sanita:default}" {ifCurrent Sanita:*}class="active"{/ifCurrent}>Sanita</a></li>
                        <li><a href="{link Vyrobci:default}" {ifCurrent Vyrobci:*}class="active"{/ifCurrent}>Výrobci</a></li>
                    </ul>
                    <div id="logout">
                        <a n:if="$user->isLoggedIn()" href="{link Default:logout}">Odhlásit</a>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
                                    
            <h1 n:if="$user->isLoggedIn()">{block #mainTitle}{/block}</h1>
            {snippet content}
                <div n:foreach="$flashes as $flash" class="flash {$flash->type}">
                    {$flash->message}
                </div>
                <div id="content" >
                    {include #content}
                </div>
            {/snippet}
            <div class="clear"></div>
            
            <div id="footer">                
                Adminstrace Krejčíř s.r.o. {= date('Y')}
            </div>            
            <div class="clear"></div>
        </div>
    </body>
</html>
